package org.smart4j.framework.bean;

import java.lang.reflect.Method;

/**
 * 封装Action信息
 * @author TW
 *
 */
public class Handler {
	
	/**
	 * Controller类
	 */
	private Class<?> contorllerClass;
	
	/**
	 * Action方法
	 */
	private Method actionMethod;
	
	public Handler(Class<?> controllerClass,Method actionMethod){
		this.contorllerClass = controllerClass;
		this.actionMethod = actionMethod;
	}

	public Method getActionMethod() {
		return actionMethod;
	}
	
	public Class<?> getControllerClass(){
		return contorllerClass;
	}

}
